home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #2 / Ham Radio 2000 - Volume 2.iso / HAMV2 / TCP_IP / TNOS230S / DAEMON.H < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-03  |  585 b   |  34 lines

  1. #ifndef    _DAEMON_H
  2. #define    _DAEMON_H
  3.  
  4. struct daemon {
  5.     const char *name;
  6.     unsigned stksize;
  7.     void (*fp) (int,void *,void *);
  8. };
  9. #define    NULLDAEMON ((struct daemon *)0)
  10. extern struct daemon Daemons[];
  11.  
  12. #ifndef UNIX
  13. /* In alloc.c: */
  14. void gcollect (int,void*,void*);
  15. #endif
  16.  
  17. /* In main.c: */
  18. void keyboard (int,void*,void*);
  19. #if 0
  20. void network (int,void *,void *);
  21. #endif
  22. #ifndef UNIX
  23. void display (int,void *,void *);
  24. #endif
  25.  
  26. /* In kernel.c: */
  27. void killer (int,void*,void*);
  28.  
  29. /* In timer.c: */
  30. void timerproc (int,void*,void*);
  31.  
  32. #endif    /* _DAEMON_H */
  33.  
  34.